<?php namespace Phpcmf\Controllers;

class Home extends \Phpcmf\Home\Module
{

	public function index() {
		$this->_Index();
	}
	public function quanbu() {
	    \Phpcmf\Service::V()->assign([
	        'meta_title' => dr_lang('全部圈子').SITE_SEOJOIN.SITE_NAME,
	        'meta_keywords' => $this->get_cache('site', SITE_ID, 'config', 'SITE_KEYWORDS'),
	        'meta_description' => $this->get_cache('site', SITE_ID, 'config', 'SITE_DESCRIPTION')
	    ]);
	    \Phpcmf\Service::V()->display('quanbu.html');
	}
	public function paiming() {
		$id = (int)\Phpcmf\Service::L('input')->get('id');
		if (!$id) {
		exit($this->_msg(0, dr_lang('id参数不完整')));
		}
	    \Phpcmf\Service::V()->assign([
			'id' => $id,
	        'meta_title' => dr_lang('圈子用户排名').SITE_SEOJOIN.SITE_NAME,
	        'meta_keywords' => $this->get_cache('site', SITE_ID, 'config', 'SITE_KEYWORDS'),
	        'meta_description' => $this->get_cache('site', SITE_ID, 'config', 'SITE_DESCRIPTION')
	    ]);
	    \Phpcmf\Service::V()->display('paiming.html');
	}

}
